/*
 * @(#)FormRecord.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.form.bean;

import java.sql.Timestamp;
import java.util.List;

import com.dcivision.framework.GlobalConstant;
import com.dcivision.framework.bean.AbstractBaseObject;

/**
  FormRecord.java

  This class is the serializable bean reflecting business logic uses.

    @author           Scott Tong
    @company          DCIVision Limited
    @creation date    16/12/2003
    @version          $Revision: 1.22.26.1 $
*/

public class FormRecord extends AbstractBaseObject {

  public static final String REVISION = "$Revision: 1.22.26.1 $";

  static final long serialVersionUID = 8116778407701134458L;

  public static final String FORM_STATUS_PENDING = "P";
  public static final String FORM_STATUS_RELEASED = "R";
  
  public static final String NAV_MODE_SDK = "SDK";
  public static final String NAV_MODE_LSDK = "LSDK";
  public static final String NAV_MODE_LFT = "LFT";
  public static final String NAV_MODE_OUTLINE = "OUTLINE";
  public static final String FORM_TYPE_HTML = "0";  
  public static final String NAV_MODE_SPDF = "SPDF";
  public static final String EXPORT_EXCEL_FILE = "ELS";
  
  private String formCode = null;
  private String formVersion = null;
  private Integer formType = null;
  private Integer formDocID = null;
  private Integer formGroupID = null;
  private String groupName = null;
  private Integer displayElementID = null;
  private Integer pageID = null;
  private String title = null;
  private String titleAlt = null;
  private String description = null;
  private String descriptionAlt = null;
  private String status = null;
  private Timestamp startDate = null;
  private Timestamp endDate = null;
  private Integer formCategoryID = null;
  private String trackClass = null;
  private String submissionClass = null;
  private String autoNumbering = null;
  private String lastPageCode = null;  
  private String hasBindFirstStep = GlobalConstant.FALSE;

  private String formCategory = null;
  
  //Form Reference ID
//  private String prefix = null;
//  private String suffix = null;
//  private Integer start_no = null;
//  private Integer length = null;
//  private Integer current_no = null;
//  private Integer increment = null;
  
  //for binding workflow 
  private Integer workflowRecordID = null;
  private String workflowCode = null;
  private String workflowVersion = null;
  private Integer formSubmissionID = null;
  private String formProcessed = null;
  private String mandatory = null;
  private List workflowList = null;
  private int workflowListSize = -1;

  public FormRecord() {
    super();
  }

  public String getFormCode() {
    return(this.formCode);
  }

  public void setFormCode(String formCode) {
    this.formCode = formCode;
  }

  public String getFormVersion() {
    return(this.formVersion);
  }

  public void setFormVersion(String formVersion) {
    this.formVersion = formVersion;
  }

  public Integer getFormType() {
    return(this.formType);
  }

  public void setFormType(Integer formType) {
    this.formType = formType;
  }


  public Integer getFormDocID() {
    return(this.formDocID);
  }

  public void setFormDocID(Integer formDocID) {
    this.formDocID = formDocID;
  }


  public Integer getFormGroupID() {
    return(this.formGroupID);
  }

  public void setFormGroupID(Integer formGroupID) {
    this.formGroupID = formGroupID;
  }

  public String getGroupName() {
    return(this.groupName);
  }

  public void setGroupName(String groupName) {
    this.groupName = groupName;
  }
  
  public Integer getPageID() {
    return(this.pageID);
  }

  public void setPageID(Integer pageID) {
    this.pageID = pageID;
  }

  public String getTitle() {
    return(this.title);
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public String getTitleAlt() {
    return(this.titleAlt);
  }

  public void setTitleAlt(String titleAlt) {
    this.titleAlt = titleAlt;
  }

  public String getDescription() {
    return(this.description);
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public String getDescriptionAlt() {
    return(this.descriptionAlt);
  }

  public void setDescriptionAlt(String descriptionAlt) {
    this.descriptionAlt = descriptionAlt;
  }

  public String getStatus() {
    return(this.status);
  }

  public void setStatus(String status) {
    this.status = status;
  }
  
  public Timestamp getStartDate() { 
    return(this.startDate);
  }

  public void setStartDate(Timestamp startDate) { 
    this.startDate = startDate;
  }

  public Timestamp getEndDate() { 
    return(this.endDate);
  }

  public void setEndDate(Timestamp endDate) { 
    this.endDate = endDate;
  }

  public Integer getDisplayElementID() {
    return displayElementID;
  }

  public void setDisplayElementID(Integer displayElementID) {
    this.displayElementID = displayElementID;
  }
  
  public Integer getFormCategoryID() {
    return(this.formCategoryID);
  }

  public void setFormCategoryID(Integer formCategoryID) {
    this.formCategoryID = formCategoryID;
  }

  public String getFormCategory() {
    return(this.formCategory);
  }

  public void setFormCategory(String formCategory) {
    this.formCategory = formCategory;
  }

  public String getTrackClass() {
    return(this.trackClass);
  }

  public void setTrackClass(String trackClass) {
    this.trackClass = trackClass;
  }

  public String getSubmissionClass() {
    return(this.submissionClass);
  }

  public void setSubmissionClass(String submissionClass) {
    this.submissionClass = submissionClass;
  }

  public String getAutoNumbering() {
    return(this.autoNumbering);
  }

  public void setAutoNumbering(String autoNumbering) {
    this.autoNumbering = autoNumbering;
  }

  public String getLastPageCode() {
    return(this.lastPageCode);
  }

  public void setLastPageCode(String lastPageCode) {
    this.lastPageCode = lastPageCode;
  }  
    
  public Integer getWorkflowRecordID() {
  	return workflowRecordID;
  }
  
  public void setWorkflowRecordID(Integer workflowRecordID) {
  	this.workflowRecordID = workflowRecordID;
  }
  
  public String getWorkflowCode() {
  	return workflowCode;
  }
  
  public void setWorkflowCode(String workflowCode) {
  	this.workflowCode = workflowCode;
  }
  
  public String getWorkflowVersion() {
  	return workflowVersion;
  }
  
  public void setWorkflowVersion(String workflowVersion) {
  	this.workflowVersion = workflowVersion;
  }
    
  public Integer getFormSubmissionID() {
  	return formSubmissionID;
  }
  
  public void setFormSubmissionID(Integer formSubmissionID) {
  	this.formSubmissionID = formSubmissionID;
  }
  
  public String getFormProcessed() {
  	return formProcessed;
  }
  
  public void setFormProcessed(String formProcessed) {
  	this.formProcessed = formProcessed;
  }
  
  public String getMandatory() {
  	return mandatory;
  }
  
  public void setMandatory(String mandatory) {
  	this.mandatory = mandatory;
  }
  
  public List getWorkflowList() {
  	return workflowList;
  }
  
  public void setWorkflowList(List workflowList) {
  	this.workflowList = workflowList;
  }
  
  public int getWorkflowListSize() {
  	return workflowListSize;
  }
  
  public void setWorkflowListSize(int workflowListSize) {
  	this.workflowListSize = workflowListSize;
  }
  
  public String getHasBindFirstStep() {
    return hasBindFirstStep;
  }
  
  public void setHasBindFirstStep(String hasBindFirstStep) {
    this.hasBindFirstStep = hasBindFirstStep;
  }
//  public String getPrefix(){
//  	return this.prefix;
//  }
//  public void setPrefix(String prefix){
//  	this.prefix=prefix;
//  }
//  
//  public String getSuffix(){
//  	return this.suffix;
//  }
//  public void setSuffix(String suffix){
//  	this.suffix=suffix;
//  }
//  
//  public Integer getStart_no(){
//  	return this.start_no; 
//  }
//  public void setStart_no(Integer number){
//  	this.start_no=number;
//  }
//  
//  public Integer getLength(){
//  	return this.length;
//  }
//  public void setLength(Integer number){
//  	this.length=number;
//  }
//  
//  public Integer getCurrent_no(){
//  	return this.current_no;
//  }
//  public void setCurrent_no(Integer number){
//  	this.current_no=number;
//  }
//  
//  public Integer getIncrement(){
//  	return this.increment;
//  }
//  public void setIncrement(Integer number){
//  	this.increment=number;
//  }
}